#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <setjmp.h>
#include <stdarg.h>
#include <stddef.h>
#include <cmocka.h>

#include "comp1.h"


static void test_comp1_add_basic( void** state )
{
    assert_int_equal( 4, comp1_add(1, 3) );
}


int test_comp1()
{
    const struct CMUnitTest tests[] = {
        cmocka_unit_test( test_comp1_add_basic ),
    };

    return cmocka_run_group_tests( tests, NULL, NULL );
}
